#ifndef TEMPLATES_H
#define TEMPLATES_H 1

#include "main.h"

#include "template_simple.h"
#define REG_SIMPLE_TP REGISTER_TEMPLATE(smpl_tpl)

#ifdef ENABLE_LUA
# include "template_lua.h"
# define REG_LUA_TP REGISTER_TEMPLATE(lua_tpl)
#else
# define REG_LUA_TP
#endif

#define REGISTER_TEMPLATE(x) register_tmpl(&x);

#ifndef TEMPLATE_SYSTEMS
#define TEMPLATE_SYSTEMS \
        REG_SIMPLE_TP \
        REG_LUA_TP
#endif


#endif
